﻿.main {
    padding: 1rem;
}

.sidebar-title {
    height: 50px;
    align-items: center;
    padding: 1rem;
    border-bottom: solid 1px #c0c4cc;
    display: none;
}

.sidebar-text {
    font-weight: 700;
}

::deep p {
    line-height: 2;
}

    ::deep p:last-child {
        margin-bottom: 0;
    }

    ::deep p code,
    ::deep li code {
        display: inline-block;
        padding: 0px 8px;
        background-color: #e9ecef;
        margin: 0;
        border-radius: var(--bs-border-radius);
    }

::deep .code-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

::deep h4 {
    margin-top: 1rem;
    font-size: var(--bb-sub-font-size);
}

::deep .alert:last-child {
    margin-bottom: 0;
}

::deep .alert h4 {
    margin-top: 0;
}

::deep .alert-info .fa-lightbulb-o {
    color: #17a2b8
}

::deep .tabs .tabs-item {
    padding: 0 1rem;
}

::deep .wwads-cn {
    --ad-min-height: 120px;
    --ad-margin-bottom: 1rem;
    min-height: var(--ad-min-height);
    margin-bottom: var(--ad-margin-bottom);
    overflow: hidden;
}

    ::deep .wwads-cn.debug {
        --ad-min-height: 0;
        --ad-margin-bottom: 0;
    }

@media (min-width: 768px) {
    .section {
        display: flex;
        flex-direction: row;
        -webkit-font-smoothing: antialiased;
    }

    .sidebar-title {
        display: flex;
    }

    .sidebar {
        width: var(--bs-sidebar-width);
        height: calc(100vh);
        position: sticky;
        top: 0;
        border-right: solid 1px #c0c4cc;
        background-color: #f0f0f0;
        margin-top: calc(var(--bs-header-height)*-1);
    }

    .main {
        flex: 1;
        height: 100%;
    }
}
